package net.zhengxinyun.performance.mapper.exam.answer;

import net.zhengxinyun.performance.entity.AnswerEntity;
import net.zhengxinyun.performance.filter.AnswerFilter;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AnswerMapper {

    List<AnswerFilter> query(AnswerFilter filter);
    int queryForCount(AnswerFilter filter);
    AnswerEntity  selectByPrimaryKey(Long id);
    int deleteByPrimaryKey(Long ind);
    int insert(AnswerEntity entity);
    int insertCache(AnswerEntity entity);

    int insertSelective(AnswerEntity entity);
    int updateByPrimaryKeySelective(AnswerEntity entity);
    int updateByPrimaryKey(AnswerEntity entity);
    int updateCache(AnswerEntity entity);
    AnswerEntity selectCahche(AnswerEntity entity);


}
